package com.privatework.common.service.leave;


import com.privatework.common.ConditionService;
import com.privatework.common.entity.leave.LeaveInfo;
import com.privatework.common.requestvo.leave.LeaveInfoReqVo;
import com.privatework.common.vo.leave.LeaveInfoResultVo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * 用户Service
 *
 * @author johnny
 * @create 2020-07-13 下午4:56
 **/
public interface LeaveService extends ConditionService<LeaveInfo> {


    Page<LeaveInfoResultVo> listByCondition(LeaveInfoReqVo leaveInfoReqVo, Pageable pageVo);

    void submitLeave(LeaveInfoReqVo leaveInfoReqVo);

    void submitaddLeave(LeaveInfoReqVo leaveInfoReqVo);
}